41223116

  • Home
    • SMap
    • reveal
    • blog
  • About
  • c語言教學說明(中文說明網站)
  • c語言基本操作
    • "Hello, World!"
  • w2
    • ipv6
  • w12
  • 台灣國旗
  • 三角函數曲線圖
  • 美國國旗程式
  • 日本國旗程式
  • 中國國旗程式
  • experience
  • Brython
c語言基本操作 << Previous Next >> w2

"Hello, World!"

  1. 程式的第一行#include <stdio.h>是預處理器指令,告訴 C 編譯器在實際編譯之前要包含 stdio.h 檔案。
    下一行int main()是主函式,程式從這裡開始執行。
    下一行printf(...)是 C 中另一個可用的函式,會在螢幕上顯示訊息 "Hello, World!"。
    下一行return 0;終止 main() 函式,並返回值 0。
    

c語言基本操作 << Previous Next >> w2

Copyright © All rights reserved | This template is made with by Colorlib